package com.fushenlan.epidemicControl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fushenlan.epidemicControl.dto.DetectionPersonalInfoRespDTO;
import com.fushenlan.po.NucleinDetectionApplyRecordRelation;
import com.fushenlan.po.NucleinDetectionRegisterRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Administrator
* @description 针对表【nuclein_detection_register_record(核酸检测登记记录表)】的数据库操作Mapper
* @createDate 2022-04-20 22:34:18
* @Entity generator.domain.NucleinDetectionRegisterRecord
*/
@Repository
public interface NucleinDetectionRegisterRecordMapper extends BaseMapper<NucleinDetectionRegisterRecord> {

    int insertApplyRegisterRecord(@Param("recordReqDtos") List<NucleinDetectionRegisterRecord> recordReqDtos);
    int updateBantch(@Param("newRespDTOs") List<DetectionPersonalInfoRespDTO> newRespDTOs);
}
